package top.sdaily.mapper;

import org.apache.ibatis.annotations.Mapper;
import top.sdaily.core.mybatis.BaseMapper;
import top.sdaily.web.model.Menu;
import top.sdaily.web.model.Right;
import top.sdaily.web.model.Role;
import top.sdaily.web.model.RoleMenuRight;

import java.util.List;

/**
 * Created by TsujiShiki on 2017/1/24.
 */
@Mapper
public interface RoleMenuRightMapper extends BaseMapper<RoleMenuRight> {

    List<Role> findRoleMenuRight1();

    List<Menu> findRoleMenuRight2();

    List<Right> findRoleMenuRight3();

    void deleteByRoleId(String roleId);

}
